package com.yxhl.zoume.data.http.rest.param.mywallet;

import com.yxhl.zoume.data.http.rest.param.base.BaseRequestParam;

/**
 * 项目名称：Ferrari
 * Created by menggod on 2016/11/13.
 */

public class TradeRecordsParam extends BaseRequestParam {

    private int queryType;

    private PageBean page;

    public TradeRecordsParam setQueryType(int queryType) {
        this.queryType = queryType;
        return this;
    }

    public TradeRecordsParam setPage(PageBean page) {
        this.page = page;
        return this;
    }

    public static class PageBean {
        /**
         * pageSize : 10
         * currentPage : 1
         */
        private int pageSize;
        private int currentPage;

        public PageBean setPageSize(int pageSize) {
            this.pageSize = pageSize;
            return this;
        }

        public PageBean setCurrentPage(int currentPage) {
            this.currentPage = currentPage;
            return this;
        }
    }
}
